package com.ssy.lingxi.purchase.model.response;

import com.ssy.lingxi.workflow.api.model.vo.response.ComplexTaskCompleteVO;
import lombok.Getter;
import lombok.Setter;

/**
 * 工作流执行任务结果
 * @author wyx
 * @version 2.0.0
 * @date 2021-11-01
 */
@Setter
@Getter
public class PurchaseProcessTaskRes {
    /**
     * 流程任务Id
     */
    private String taskId;

    /**
     * 采购商内部状态
     */
    private Integer buyerInnerStatus;

    public PurchaseProcessTaskRes(ComplexTaskCompleteVO completeVO) {
        this.taskId = completeVO.getTaskId();
        this.buyerInnerStatus = completeVO.getInnerStatus();
    }
}
